import axios from '@/libs/api.request.js'

export const instalmentList = data =>{
  return axios.request({
    method:"get",
    url:"/api/instalment/payable/list",
  })
};


export const instalmentadd = data =>{
  return axios.request({
    method:"post",
    url:"/api/instalment/payable/add",
    data:data,
  })
};

export const instalmentedit = data =>{
  return axios.request({
    method:"put",
    url:"/api/instalment/payable/edit",
    data:data,
  })
};


export const updateTai = data =>{
  return axios.request({
    method:"put",
    url:"/api/instalment/payable/updateTai",
    data:data,
  })
};

